package com.itheima.tilas.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 接收学生表返回信息的类
 *
 * @author 132
 */
@Data
public class SelectStudentPageDTO {
    private int id;
    private String name;
    private String no;
    private String clazzName;
    private Integer gender;
    private String phone;
    private Integer degree;
    private Integer violationCount;
    private Double violationScore;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
